package com.dqy.twserver.server.support.data;

import com.dqy.twserver.server.support.Player;

import java.util.List;
import java.util.Map;

public class RoomInfo {
    String roomId;
    String roomName;
    String roomCreateUser;
    String roomSts; //房间状态，0等待中，1已开始
    List<Player> playerList;

    int bulletIdStart;

   public RoomInfo(String roomId, String roomName, String roomCreateUser) {
        this.roomId = roomId;
        this.roomName = roomName;
        this.roomCreateUser = roomCreateUser;
    }

    public RoomInfo(){}

    @Override
    public String toString() {
        return roomId +":"+roomName+":" + roomCreateUser+":"+roomSts;
    }

    public int getBulletIdStart() {
        return bulletIdStart;
    }

    public void setBulletIdStart(int bulletIdStart) {
        this.bulletIdStart = bulletIdStart;
    }

    public String getRoomSts() {
        return roomSts;
    }

    public void setRoomSts(String roomSts) {
        this.roomSts = roomSts;
    }

    public String getRoomCreateUser() {
        return roomCreateUser;
    }

    public void setRoomCreateUser(String roomCreateUser) {
        this.roomCreateUser = roomCreateUser;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public List<Player> getPlayerList() {
        return playerList;
    }

    public void setPlayerList(List<Player> playerList) {
        this.playerList = playerList;
    }
}
